import React from 'react'

import WithLoading from './index.js'

function DataList(props) {
  return (
    <ul>
        { props.list.map((item, idx)=>{
            return <li key={idx}>{item}</li>
        })}
    </ul>
  )
}

export default WithLoading(DataList)
